package com.zhentao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.model.pojo.user.ChargeUser;
import com.zhentao.model.pojo.user.dto.UserDto;
import com.zhentao.model.pojo.user.dto.parDto;
import com.zhentao.model.pojo.user.param.MessageParam;
import com.zhentao.model.pojo.user.param.UserParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author lenovo
* @description 针对表【charge_user】的数据库操作Service
* @createDate 2024-12-17 09:46:37
*/
public interface ChargeUserService extends IService<ChargeUser> {

    ResponseResult login(UserDto userDto);

    ResponseResult getUserInfo();

    ResponseResult getInviteRecord();

    ResponseResult getInviteIncome();
    ResponseResult messageCode(MessageParam param);

    ResponseResult chargeRegistry(UserParam param);

    ResponseResult updateUserInfo(UserParam param);

    ResponseResult userLogout();

    ResponseResult getUserPoint(Long id);

    ResponseResult getDeductionCount(Integer point,Long userId);

    ResponseResult GetPurseMoney();

    ResponseResult Remittance(parDto pardto);
    ResponseResult uploadImg(MultipartFile file);

    ResponseResult getUserCount();

    List<ChargeUser> getUserList();

    ResponseResult addBlackList(Integer userId);

    ChargeUser getUser(Long id);
}
